import { request } from '@/utils/request';

// 获取渠道商汇总信息 1. 渠道管理 3.我的下级
export function getMyProviderChildrenTotalData(data) {
  return request(
    {
      url: '/provider/getMyProviderChildrenTotalData',
      method: 'POST',
      data
    },
    { loading: false, toast: false }
  );
}

// 获取渠道商列表信息 1. 渠道管理 3.我的下级
export function getMyProviderChildrenList(data) {
  return request(
    {
      url: '/provider/getMyProviderChildrenList',
      method: 'POST',
      data
    },
    { loading: false, toast: false }
  );
}
